package cn.eslm.flash.service.cms;

import cn.eslm.flash.bean.entity.cms.Dish;
import cn.eslm.flash.bean.entity.cms.Order;
import cn.eslm.flash.bean.enumeration.cms.ChannelEnum;
import cn.eslm.flash.dao.cms.DishRepository;
import cn.eslm.flash.dao.cms.OrderRepository;
import cn.eslm.flash.service.BaseService;
import cn.eslm.flash.utils.factory.Page;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OrderService extends BaseService<Order,Long, OrderRepository> {
    @Autowired
    private OrderRepository orderRepository;

//    public List<Order> queryByUserid(int id) {
//        return orderRepository.findB;
//    }
}
